﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PPT = Microsoft.Office.Interop.PowerPoint;
using Office = Microsoft.Office.Core;
using System.ComponentModel;

namespace An_Im
{
    internal class EffectInformation : TimeInformation, INotifyPropertyChanged
    {
        static List<String> EmptyTags = new List<string>();

        /// <summary>
        /// 作用对象
        /// </summary>
        public int Target { get; set; } = 1;

        public IList<string> Tags { get; set; } = EmptyTags;

        private string _name;
        public string Name
        {
            get => _name;
            set
            {
                _name = value;
                PropertyChanged?.Invoke(this, new PropertyChangedEventArgs("Name"));
            }
        }

        public PPT.MsoAnimTextUnitEffect? TextUnitEffect { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
